/*
** cmd.h for  in /home/faye_m//zappy
** 
** Made by mouhamed faye
** Login   <faye_m@epitech.net>
** 
** Started on  Mon Jun 20 20:33:25 2011 mouhamed faye
** Last update Mon Jun 20 22:52:24 2011 mouhamed faye
*/
#ifndef __CMD__
#define __CMD__

typedef struct	equipe
{
  char		*nom_equipe;
  int		nb_joueur;
  int		max_inquat;
} team;
  
typedef	struct joueur
{
  int		num_joueur;
  int		ttl_joueur;
  struct team	*equipe_joueur;
} player;



typedef struct requete
{
  char *cmd;
  int  delay;
  int	num_client;
  int	nb_req;
  struct cmd *next;
} list_request;

list_request	*add_request(list_request *req, char *cmd);
list_request	*del_request(list_request *req, char *cmd);
void		display_request(list_request *data);
#endif
